

package net.qiqbframework.loadhanding;

import net.qiqbframework.messaging.Message;
import net.qiqbframework.modelling.domain.AggregateModel;


public interface LoadMessage<T> extends Message<T> {

    /**
     * 获取聚合名称
     *
     * @return
     */
    String getAggregateName();

    /**
     * 获取业务ID名称
     *
     * @return
     */
    String getBusinessIdName();

    Class<?> getAggregateType();

    AggregateModel<?> getAggregateModel();

    default boolean isBatch() {
        return false;
    }

}
